package cn.itsource.service;

import cn.itsource.domain.Article;
import cn.itsource.domain.ArticleType;
import cn.itsource.query.ArticleQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IArticleService {
    void add(Article articleType);

    void update(Article articleType);

    void del(Long id);

    void delList(List<Long> ids);

    Article get(Long id);

    List<ArticleType> getAll();

    PageInfo<Article> pageQuery(ArticleQuery query);

    List<Article> getCorrelationArticles(Long id);

    List<Article> getarticleTypes(Long id);
}
